package com.basics.channel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 帖子屏蔽规则
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cy_channel_rule")
@ApiModel(value="CyChannelRule对象", description="帖子屏蔽规则")
public class CyChannelRule extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "频道ID")
    private Long channelId;

    @ApiModelProperty(value = "是否允许含有链接")
    private Boolean allowUrl;

    @ApiModelProperty(value = "是否允许含二维码")
    private Boolean allowCode;

    @ApiModelProperty(value = "自定义关键词(多个逗号隔开)")
    private String keywords;


}
